<template>
    <div class="gnfk">
        <div class="gnfk-title">请输入产品功能问题及改进建议</div>
        <div class="">
            <el-input
                type="textarea"
                :rows="4"
                placeholder="请输入内容"
                :autosize="false"
                resize="none"
                v-model="content"
            >
            </el-input>
        </div>
        <!-- <div class="up-img">
            <span>+上传图片</span>
            请上传1张大小不超过5MB的图片
        </div> -->
        <div class="buts">
            <el-button size="mini" type="text" @click="close"> 取消 </el-button>
            <el-button type="primary" size="mini" @click="submit">
                提交
            </el-button>
        </div>
    </div>
</template>

<script>
export default {
    name: "gnfk",
    data() {
        return {
            content: "",
        };
    },
    props: {
        endTime: { type: String, default: "" },
    },
    watch: {},
    mounted() {},
    methods: {
        close() {
            this.$emit("close");
        },
        submit() {
            this.$emit("submit", this.content);
        },
    },
};
</script>

<style lang="scss" scoped>
.gnfk {
    padding: 14px 8px;
}

.gnfk-title {
    font-size: 14px;
    color: #333333;
    padding-bottom: 20px;
}



.buts {
    padding-top: 26px;
    text-align: right;
}
</style>
